package com.vote.vs.dao;

import com.vote.vs.entity.Subject;
import com.vote.vs.entity.SubjectDto;

import java.util.List;

public interface SubjectMapper {
    int deleteByPrimaryKey(Integer vsId);

    int insert(Subject record);

    int insertSelective(Subject record);

    Subject selectByPrimaryKey(Integer vsId);

    int updateByPrimaryKeySelective(Subject record);

    int updateByPrimaryKey(Subject record);

    List<SubjectDto> subjectList();
}